Ensure crates are tested after packaged
authorAlex Crichton <alex@alexcrichton.com>
Fri, 21 Nov 2014 06:48:18 +0000 (22:48 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 21 Nov 2014 06:48:18 +0000 (22:48 -0800)
commit6e81812eaa54ce7637f45025e5583cbc3f7f5aec
treee2f2e6dfda0a351d680116a493bcfc7fb91e90a8
parent1bdfb25de616f23c1e37d27a454cab73cf9cc2e0
Ensure crates are tested after packaged

The `target` directory was erroneously being used from the crate root rather
than the root of the package directory itself, leading to packages not actually
testing what's precisely being published.
src/cargo/ops/cargo_package.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_package.rs